<?php

/**
 *      [Hero! Cms] (C)2011-2012.
 *
 *      config_global.php Build at 2011-08-15 14:50:19
 */

$_config = array();

// ------------------  CONFIG DB  ------------------- //
/* CMS 数据库 */
$_config['db']['1']['dbhost'] = 'localhost';
$_config['db']['1']['dbuser'] = 'root';
$_config['db']['1']['dbpw'] = '';
$_config['db']['1']['dbcharset'] = 'utf8';
$_config['db']['1']['pconnect'] = '0';
$_config['db']['1']['dbname'] = 'ultrax';
$_config['db']['1']['tablepre'] = 'xplus_';

/* HERO 数据库 */
$_config['db']['2']['dbhost'] = 'localhost';
$_config['db']['2']['dbuser'] = 'root';
$_config['db']['2']['dbpw'] = '';
$_config['db']['2']['dbcharset'] = 'utf8';
$_config['db']['2']['pconnect'] = '0';
$_config['db']['2']['dbname'] = 'hero';
$_config['db']['2']['tablepre'] = 'hero_';

/* DB MAP */
$_config['db']['map']['hero_members'] = 2;  
	
// ----------------  CONFIG MEMORY  ----------------- //
$_config['memory']['prefix'] = '9dOLZK_';
$_config['memory']['eaccelerator'] = 1;
$_config['memory']['xcache'] = '0';
$_config['memory']['memcache']['server'] = '';
$_config['memory']['memcache']['port'] = 11211;
$_config['memory']['memcache']['pconnect'] = 1;
$_config['memory']['memcache']['timeout'] = 1;

// -----------------  CONFIG CACHE  ----------------- //
$_config['cache']['main']['type'] = '';
$_config['cache']['main']['file']['path'] = 'data/cmscache';
$_config['cache']['type'] = 'sql';

// ----------------  CONFIG OUTPUT  ----------------- //
$_config['output']['charset'] = 'utf-8';
$_config['output']['forceheader'] = 1;
$_config['output']['gzip'] = '0';
$_config['output']['tplrefresh'] = 1;
$_config['output']['language'] = 'zh_cn';
$_config['output']['staticurl'] = 'static/';

// ----------------  CONFIG COOKIE  ----------------- //
$_config['cookie']['cookiepre'] = 'hrGY_';
$_config['cookie']['cookiedomain'] = '';
$_config['cookie']['cookiepath'] = '/';

// ---------------  CONFIG SECURITY  ---------------- //
$_config['security']['authkey'] = 'ef0bdea9lRP9AMob';
$_config['security']['urlxssdefend'] = 1;
$_config['security']['attackevasive'] = '0';

// ----------------  CONFIG ADMINCP  ---------------- //
$_config['admincp']['founder'] = 1;
$_config['admincp']['forcesecques'] = '0';
$_config['admincp']['checkip'] = 1;
$_config['admincp']['runquery'] = 1;
$_config['admincp']['dbimport'] = 1;

// ---------------- CONFIG DEBUG --------------------------- //
$_config['debug'] = 2;

